﻿@model S4Store.Domain.SellerKpi.SellerKpiMonthConfig
@{
    Layout = null;
    ViewBag.Title = "InputSellerKpiMonthConfig";
    S4Store.Domain.Administrator CurrentUser = (S4Store.Domain.Administrator)ViewBag.CurrentUser;
}
<form class="pageForm addpage" action="@Url.Action("ModifyBackInputSellerKpiMonthConfig")" method="post">
<div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
    <div class="" style="overflow: auto;" ratio="#54">
        <table style="width:100%">
            <tr>
                <td width="30%">上月平均成交率：</td>
                <td width="70%"><input type="text" value="@Model.LastMonthAvgvr" size="5" name="config.LastMonthAvgvr" class="textInput numberinput"/>%</td>
                   
            </tr>
        </table>
        <table  class="rpttable"  style="border-collapse:collapse;">
                        <tr>
                            <th class="blue"><div class="wd50 pd510">销售顾问</div></th>
                            <th class="blue"><div class="wd50 pd510">品牌</div></th>
                            <th class="blue"><div class="wd100 pd510">月初意向客户数</div></th>
                            <th class="blue"><div class="wd60 pd510">销售目标</div></th>
                        </tr>
                    </table>  
        <input type="hidden" name="config.Id" value="@Model.Id" />
        <input type="hidden" name="config.Month" value="@Model.Month.ToString("yyyy-MM-dd")" />
			
    </div>
    <div class="" style="overflow: auto;" ratio="*">
        <table  class="rpttable"  style="border-collapse:collapse;">
                        @Html.Action("SellerList", new { y=Model.Month.Year,m=Model.Month.Month })
       </table>  
    </div>
    @if (!Model.IsConfirmed || CurrentUser.Position == S4Store.Domain.Position.SystemManager)
    {
        <div class="formBar" ratio="#30">
            <ul>
                <li><div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div></li>	
                <li>确认数据：<input type="checkbox" name="isconfirm" value="true" /></li>	
            </ul>
        </div>
    }
</div>
</form>


